<%- p params %>

<tr><td>
		<%- count = 0 -%>
		<%- session[:cur_example].each do |example_set| -%>
			<%- if example_set[1][:visible] == true and example_set[1][:id] == params[:id] then -%>
				<%- count+= 1 -%>
			<%- end -%>
		<%- end -%>
		<%- if count == 0 then -%>
			<li style="list-style-type:none;">there is no example.</li>
		<%- end -%>
		<%- if count > 4 and params[:option] != "continue" -%>
			<li style="list-style-type:none;">
			<%= link_to_remote("continue reading...#{count-5} examples rest",
				:update => "example#{params[:id]}",
				:url => {:action => "show_example2", :option => "continue", :acceptation_id => params[:acceptation_id], :id => params[:id] }
			)%>
			</li>
		<%- end -%>

	<ol>
		<%- session[:cur_example].each do |example_set| -%>
			<%- if example_set[1][:visible] == true and example_set[1][:active] == true and example_set[1][:id] == params[:id] then -%>
				<li><%= example_set[1][:with_furigana] %>
					<ul><li style="list-style-type:none;"><span style="color:red;font-size:small;"><%= example_set[1][:length] %>words <%= example_set[1][:word_rank] %>rank(Word) <%= example_set[1][:kanji_rank] %>rank(Kanji) <%= example_set[1][:bunpou_rank] -%>rank(Grammar) <%= example_set[1][:score] -%></span></li></ul>
				</li>
			<%- end -%>
		<%- end if session[:example] != nil -%>
		<li style="list-style-type:none;" id="continue<%= params[:id] %>"></li>
	</ol>
</td></tr>

